package action;

import modele.Client;

import com.opensymphony.xwork2.ActionSupport;

import data.ClientXML;

public class ListeClients extends ActionSupport {

	private static final long serialVersionUID = 4899536899884355223L;
	private Client[] listeClients;

	public String execute() throws Exception {
		ClientXML clientXML = new ClientXML();
		listeClients = clientXML.getListeClients();
		return SUCCESS;
	}

	public Client[] getListeClients() {
		return listeClients;
	}

	public void setListeClients(Client[] listeClients) {
		this.listeClients = listeClients;
	}
}
